package com.study;

public class Demo05 {
    public double compareToGetmin(double num1, double num2){
        return num1 > num2 ? num2 : num1;
    }
    public static void main(String[] args) {

    }
}
